package com.fulihui.usercore.dto;

import java.util.Map;

import com.fulihui.usercore.enums.MerchantStateEnum;

/**
 * 商户数据传输对象
 * Created by Willard.Hu on 2016/5/17.
 */
public class MerchantDTO extends AbstractDateDTO {
    private static final long   serialVersionUID = -4806928641667770238L;
    /**
     * 主键
     */
    private String              mid;
    /**
     * 商户logo地址
     */
    private String              logoUrl;
    /**
     * 商户名字
     */
    private String              name;
    /**
     * 联系人
     */
    private String              contactName;
    /**
     * 联系人手机
     */
    private String              contactMobile;
    /**
     * 公司地址
     */
    private String              companyAddress;
    /**
     * 合同图片地址
     */
    private String              contractImage;
    /**
     * 角色代码
     */
    private String              roleCode;
    /**
     * 商户状态
     * @see MerchantStateEnum
     */
    private String              state            = MerchantStateEnum.NOMAL.getCode();
    /**
     * 最新的合作方
     */
    private CooperationInfoDTO  newestOne;
    /**
     * 描述
     */
    private String              desc;
    /**
     * 扩展信息
     */
    private Map<String, Object> extInfo;

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getContactMobile() {
        return contactMobile;
    }

    public void setContactMobile(String contactMobile) {
        this.contactMobile = contactMobile;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getContractImage() {
        return contractImage;
    }

    public void setContractImage(String contractImage) {
        this.contractImage = contractImage;
    }

    public String getRoleCode() {
        return roleCode;
    }

    public void setRoleCode(String roleCode) {
        this.roleCode = roleCode;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public CooperationInfoDTO getNewestOne() {
        return newestOne;
    }

    public void setNewestOne(CooperationInfoDTO newestOne) {
        this.newestOne = newestOne;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Map<String, Object> getExtInfo() {
        return extInfo;
    }

    public void setExtInfo(Map<String, Object> extInfo) {
        this.extInfo = extInfo;
    }
}
